package com.chb.generic;

import com.chb.entity.Fruits;
import com.chb.interfaces.Sale;

/**
 * @description:
 * @author: CHB
 * @create: 2021-12-07 16:56
 **/
public class Boundary <T extends Fruits & Sale>{
    private T obj;

    public Boundary(T obj) {
        this.obj = obj;
    }

    public void m1(){
        obj.print();
    }
}
